package day08.FanXing;

public class Lian02 {
    public static void main(String[] args) {
        addImpl<String> abb = new addImpl<>();
        abb.method("我是谁");
    }
}
interface add<E>{
    public abstract void method(E e);
}
class addImpl<E>implements add<E>{

    @Override
    public void method(E e) {
        System.out.println(e);
    }
}